File formats that work with Visual Basic

You can create macros and then save the file in any of the following file types.

Type

What it is

PowerPoint Macro-Enabled Presentation (.pptm)

The XML-based presentation format that preserves Microsoft Visual for Basic Applications (VBA) macro code. VBA macros run in PowerPoint 2011, but they do not run in PowerPoint 2008.

PowerPoint Macro-Enabled Template (.potm)

Saves the presentation content and formatting as an XML-based template that preserves VBA macro code.  VBA macros run in PowerPoint 2011, but they do not run in PowerPoint 2008.

PowerPoint Macro-Enabled Show (.ppsm)

The XML-based presentation format that automatically opens in slide show view and preserves VBA macro code. VBA macros run in PowerPoint 2011, but they do not run in PowerPoint 2008.

PowerPoint Add-In (.ppam)

The XML-based add-in format that preserves VBA macro code. VBA macros run in PowerPoint 2011, but they do not run in PowerPoint 2008.

PowerPoint 98 - 2004 Add-In (.ppa)

Saves the add-in in a format that preserves VBA macro code. Compatible with PowerPoint 98 through PowerPoint 2004 for Mac and PowerPoint 97 through PowerPoint 2003 for Windows.